/*
 * @Author: elfsigin 2714838232@qq.com
 * @Date: 2024-11-16 21:29:16
 * @LastEditors: elfsigin 2714838232@qq.com
 * @LastEditTime: 2024-11-17 14:29:20
 * @FilePath: \VUE3-ELEMENT-PLUS\manager-pei\src\api\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from "../utils/request"
export default{

    login(params){
        return request({
            url:'/users/login',
            method:'post',
            data:params,
            // mock:false
        })
    },
    noticeCount(){
        
        return request({
            url:'/leave/count',
            method:'get',
            data:{},
        })
    },
    menuList(){
        
        return request({
            url:'/menu/list',
            method:'get',
            data:{},
        })
    }
}